<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>JEnv - Java Environment Manager</title>
    <script src="https://unpkg.com/alpinejs" defer></script>
    <script src="https://cdn.tailwindcss.com"></script>
    <script src="https://unpkg.com/@preline/overlay@1.4.0/dist/overlay.min.js"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
    <script>
        tailwind.config = {
            darkMode: 'class',
            theme: {
                extend: {
                    colors: {
                        primary: '#3B82F6',
                        secondary: '#10B981'
                    }
                }
            }
        }
    </script>
    <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap"
          rel="stylesheet">
    <style>
        :root {
            --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
            --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
        }

        body {
            font-family: var(--font-sans);
        }

        h1, h2, h3, h4, h5, h6 {
            font-family: var(--font-sans);
        }

        .fade-in {
            animation: fadeIn 0.5s ease-in;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .gradient-text {
            background: linear-gradient(45deg, #3B82F6, #10B981, #8B5CF6);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .command-box {
            font-family: var(--font-mono);
        }

        :lang(zh) {
            font-family: var(--font-sans), 'Source Han Sans SC', 'Noto Sans SC', sans-serif;
        }

        /* 自定义滚动条 */
        ::-webkit-scrollbar {
            width: 8px;
        }

        ::-webkit-scrollbar-track {
            background: #f1f1f1;
        }

        ::-webkit-scrollbar-thumb {
            background: #3B82F6;
            border-radius: 4px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: #2563EB;
        }

        /* 暗色模式滚动条 */
        .dark ::-webkit-scrollbar-track {
            background: #374151;
        }

        .dark ::-webkit-scrollbar-thumb {
            background: #6B7280;
        }

        .dark ::-webkit-scrollbar-thumb:hover {
            background: #9CA3AF;
        }

        /* 表格hover效果 */
        tbody tr:hover {
            transform: translateY(-2px);
            transition: all 0.3s ease;
        }

        /* 按钮动画效果 */
        .btn-hover-effect {
            position: relative;
            overflow: hidden;
        }

        .btn-hover-effect::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: left 0.5s;
        }

        .btn-hover-effect:hover::before {
            left: 100%;
        }
    </style>
</head>
<body class="bg-white dark:bg-gray-900" x-data="{ language: 'en', darkMode: false }" :class="{ 'dark': darkMode }">
<!-- 导航栏 -->
<nav class="fixed w-full z-50 bg-white dark:bg-gray-900 shadow-md">
    <div class="container mx-auto px-4 py-3">
        <div class="flex justify-between items-center">
            <div class="flex items-center space-x-4">
                <img src="https://raw.githubusercontent.com/WhyWhatHow/jenv/main/assets/jenv-logo.png" alt="JEnv Logo"
                     class="h-10 w-10">
                <span class="text-xl font-bold gradient-text">JEnv</span>
            </div>
            <!-- 添加导航链接 -->
            <div class="hidden md:flex items-center space-x-6">
                <a href="#features" class="text-gray-600 dark:text-gray-300 hover:text-primary">
                    <span x-show="language === 'en'">Features</span>
                    <span x-show="language === 'zh'">特性</span>
                </a>
                <a href="#quickstart" class="text-gray-600 dark:text-gray-300 hover:text-primary">
                    <span x-show="language === 'en'">Quick Start</span>
                    <span x-show="language === 'zh'">快速开始</span>
                </a>
                <a href="#installation" class="text-gray-600 dark:text-gray-300 hover:text-primary">
                    <span x-show="language === 'en'">Installation</span>
                    <span x-show="language === 'zh'">安装</span>
                </a>
                <a href="#faq" class="text-gray-600 dark:text-gray-300 hover:text-primary">
                    <span x-show="language === 'en'">FAQ</span>
                    <span x-show="language === 'zh'">常见问题</span>
                </a>
            </div>
            <div class="flex items-center space-x-4">
                <button @click="language = language === 'en' ? 'zh' : 'en'"
                        class="text-gray-600 dark:text-gray-300 hover:text-primary">
                    <i class="fas fa-language text-xl"></i>
                </button>
                <button @click="darkMode = !darkMode" class="text-gray-600 dark:text-gray-300 hover:text-primary">
                    <i class="fas" :class="darkMode ? 'fa-sun' : 'fa-moon'"></i>
                </button>
                <a href="https://github.com/WhyWhatHow/jenv" target="_blank"
                   class="text-gray-600 dark:text-gray-300 hover:text-primary">
                    <i class="fab fa-github text-xl"></i>
                </a>
            </div>
        </div>
    </div>
</nav>

<!-- Hero区域 -->
<section class="pt-24 pb-16 bg-gradient-to-br from-blue-50 via-indigo-50 to-purple-50 dark:from-gray-800 dark:via-blue-900 dark:to-purple-900 relative overflow-hidden">
    <!-- 背景装饰元素 -->
    <div class="absolute inset-0 opacity-10">
        <div class="absolute top-10 left-10 w-20 h-20 bg-blue-500 rounded-full blur-xl"></div>
        <div class="absolute top-32 right-20 w-16 h-16 bg-purple-500 rounded-full blur-lg"></div>
        <div class="absolute bottom-20 left-1/4 w-24 h-24 bg-green-500 rounded-full blur-2xl"></div>
        <div class="absolute bottom-10 right-10 w-12 h-12 bg-indigo-500 rounded-full blur-md"></div>
    </div>
    
    <div class="container mx-auto px-4 relative z-10">
        <div class="max-w-4xl mx-auto text-center fade-in">
            <!-- Logo with animation -->
            <div class="mb-8 transform hover:scale-110 transition-transform duration-300">
                <img src="https://raw.githubusercontent.com/WhyWhatHow/jenv/main/assets/jenv-logo.png" alt="JEnv Logo"
                     class="w-32 h-32 mx-auto drop-shadow-lg">
            </div>
            
            <h1 class="text-6xl font-bold mb-6 gradient-text leading-tight">
                <span x-show="language === 'en'">Java Environment Manager</span>
                <span x-show="language === 'zh'">Java 环境管理器</span>
            </h1>
            
            <!-- 性能标签 -->
            <div class="flex justify-center flex-wrap gap-3 mb-6">
                <span class="bg-blue-100 dark:bg-blue-900 text-blue-800 dark:text-blue-300 px-4 py-2 rounded-full text-sm font-semibold">
                    <i class="fas fa-bolt mr-1"></i>
                    <span x-show="language === 'en'">300ms Scan</span>
                    <span x-show="language === 'zh'">300ms扫描</span>
                </span>
                <span class="bg-green-100 dark:bg-green-900 text-green-800 dark:text-green-300 px-4 py-2 rounded-full text-sm font-semibold">
                    <i class="fas fa-exchange-alt mr-1"></i>
                    <span x-show="language === 'en'">&lt;1s Switch</span>
                    <span x-show="language === 'zh'">&lt;1s切换</span>
                </span>
                <span class="bg-purple-100 dark:bg-purple-900 text-purple-800 dark:text-purple-300 px-4 py-2 rounded-full text-sm font-semibold">
                    <i class="fas fa-desktop mr-1"></i>
                    <span x-show="language === 'en'">Cross-Platform</span>
                    <span x-show="language === 'zh'">跨平台支持</span>
                </span>
                <span class="bg-orange-100 dark:bg-orange-900 text-orange-800 dark:text-orange-300 px-4 py-2 rounded-full text-sm font-semibold">
                    <i class="fas fa-memory mr-1"></i>
                    <span x-show="language === 'en'">Ultra Light</span>
                    <span x-show="language === 'zh'">超轻量级</span>
                </span>
            </div>
            
            <p class="text-xl text-gray-600 dark:text-gray-300 mb-8 leading-relaxed">
                <span x-show="language === 'en'">
                    Cross-platform Java version manager with <strong class="text-primary">lightning-fast scanning (300ms)</strong> and <strong class="text-primary">instant switching (&lt;1s)</strong>
                </span>
                <span x-show="language === 'zh'">
                    跨平台Java版本管理器，支持<strong class="text-primary">闪电扫描(300ms)</strong>和<strong class="text-primary">瞬间切换(&lt;1秒)</strong>
                </span>
            </p>
            
            <!-- 性能数据展示 -->
            <div class="grid grid-cols-2 md:grid-cols-4 gap-4 mb-8 max-w-3xl mx-auto">
                <div class="bg-white dark:bg-gray-800 p-4 rounded-lg shadow-lg border border-blue-100 dark:border-blue-800">
                    <div class="text-2xl font-bold text-blue-600 dark:text-blue-400">300ms</div>
                    <div class="text-sm text-gray-500 dark:text-gray-400">
                        <span x-show="language === 'en'">C:/ Scan (D5)</span>
                        <span x-show="language === 'zh'">C:/扫描(深度5)</span>
                    </div>
                </div>
                <div class="bg-white dark:bg-gray-800 p-4 rounded-lg shadow-lg border border-green-100 dark:border-green-800">
                    <div class="text-2xl font-bold text-green-600 dark:text-green-400">&lt; 1s</div>
                    <div class="text-sm text-gray-500 dark:text-gray-400">
                        <span x-show="language === 'en'">Switch Time</span>
                        <span x-show="language === 'zh'">切换时间</span>
                    </div>
                </div>
                <div class="bg-white dark:bg-gray-800 p-4 rounded-lg shadow-lg border border-purple-100 dark:border-purple-800">
                    <div class="text-2xl font-bold text-purple-600 dark:text-purple-400">&lt; 10MB</div>
                    <div class="text-sm text-gray-500 dark:text-gray-400">
                        <span x-show="language === 'en'">Memory</span>
                        <span x-show="language === 'zh'">内存占用</span>
                    </div>
                </div>
                <div class="bg-white dark:bg-gray-800 p-4 rounded-lg shadow-lg border border-orange-100 dark:border-orange-800">
                    <div class="text-2xl font-bold text-orange-600 dark:text-orange-400">3+</div>
                    <div class="text-sm text-gray-500 dark:text-gray-400">
                        <span x-show="language === 'en'">Platforms</span>
                        <span x-show="language === 'zh'">支持平台</span>
                    </div>
                </div>
            </div>
            
            <div class="flex flex-col sm:flex-row justify-center space-y-4 sm:space-y-0 sm:space-x-4">
                <a href="https://github.com/WhyWhatHow/jenv/releases" target="_blank"
                   class="bg-primary hover:bg-blue-600 text-white px-8 py-4 rounded-lg transition duration-300 shadow-lg hover:shadow-xl transform hover:scale-105 font-semibold">
                    <i class="fas fa-download mr-2"></i>
                    <span x-show="language === 'en'">Download Now</span>
                    <span x-show="language === 'zh'">立即下载</span>
                </a>
                <a href="https://github.com/WhyWhatHow/jenv" target="_blank"
                   class="bg-gray-700 hover:bg-gray-800 text-white px-8 py-4 rounded-lg transition duration-300 shadow-lg hover:shadow-xl transform hover:scale-105 font-semibold">
                    <i class="fab fa-github mr-2"></i>
                    GitHub
                </a>
            </div>
        </div>
    </div>
</section>

<!-- 特性展示 -->
<section id="features" class="py-16 bg-white dark:bg-gray-900">
    <div class="container mx-auto px-4">
        <h2 class="text-3xl font-bold text-center mb-12 gradient-text">
            <span x-show="language === 'en'">Key Features</span>
            <span x-show="language === 'zh'">核心特性</span>
        </h2>
        <div class="grid md:grid-cols-2 lg:grid-cols-3 gap-8">
            <!-- 特性卡片1 -->
            <div class="p-6 bg-gradient-to-br from-blue-50 to-blue-100 dark:from-blue-900 dark:to-blue-800 rounded-lg shadow-lg fade-in transform hover:scale-105 transition-all duration-300">
                <div class="text-blue-600 dark:text-blue-400 text-4xl mb-4">
                    <i class="fas fa-bolt"></i>
                </div>
                <h3 class="text-xl font-bold mb-3 text-gray-900 dark:text-white">
                    <span x-show="language === 'en'">⚡ Lightning-Fast Switching</span>
                    <span x-show="language === 'zh'">⚡ 闪电般快速切换</span>
                </h3>
                <div class="bg-white dark:bg-gray-700 p-3 rounded-lg mb-3">
                    <div class="text-2xl font-bold text-blue-600 dark:text-blue-400">< 1 second</div>
                    <div class="text-sm text-gray-500 dark:text-gray-400">
                        <span x-show="language === 'en'">vs 30s manual switching</span>
                        <span x-show="language === 'zh'">对比手动切换30秒</span>
                    </div>
                </div>
                <p class="text-gray-600 dark:text-gray-300">
                        <span x-show="language === 'en'">
                            Revolutionary symbolic link technology eliminates PATH modifications, delivering instant JDK switching with zero downtime.
                        </span>
                    <span x-show="language === 'zh'">
                            革命性的符号链接技术无需修改PATH，实现零停机时间的即时JDK切换。
                        </span>
                </p>
            </div>
            <!-- 特性卡片2 -->
            <div class="p-6 bg-gradient-to-br from-green-50 to-green-100 dark:from-green-900 dark:to-green-800 rounded-lg shadow-lg fade-in transform hover:scale-105 transition-all duration-300">
                <div class="text-green-600 dark:text-green-400 text-4xl mb-4">
                    <i class="fas fa-desktop"></i>
                </div>
                <h3 class="text-xl font-bold mb-3 text-gray-900 dark:text-white">
                    <span x-show="language === 'en'">🌍 Cross-Platform Engine</span>
                    <span x-show="language === 'zh'">🌍 跨平台引擎</span>
                </h3>
                <div class="bg-white dark:bg-gray-700 p-3 rounded-lg mb-3">
                    <div class="text-2xl font-bold text-green-600 dark:text-green-400">3+ Platforms</div>
                    <div class="text-sm text-gray-500 dark:text-gray-400">
                        <span x-show="language === 'en'">Windows • Linux • macOS</span>
                        <span x-show="language === 'zh'">Windows • Linux • macOS</span>
                    </div>
                </div>
                <p class="text-gray-600 dark:text-gray-300">
                        <span x-show="language === 'en'">
                            Universal Java version management across all major operating systems with platform-specific optimizations.
                        </span>
                    <span x-show="language === 'zh'">
                            跨所有主流操作系统的通用Java版本管理，具有平台特定的优化。
                        </span>
                </p>
            </div>
            <!-- 特性卡片3 -->
            <div class="p-6 bg-gradient-to-br from-purple-50 to-purple-100 dark:from-purple-900 dark:to-purple-800 rounded-lg shadow-lg fade-in transform hover:scale-105 transition-all duration-300">
                <div class="text-purple-600 dark:text-purple-400 text-4xl mb-4">
                    <i class="fas fa-search"></i>
                </div>
                <h3 class="text-xl font-bold mb-3 text-gray-900 dark:text-white">
                    <span x-show="language === 'en'">🔍 Lightning-Fast Scanner</span>
                    <span x-show="language === 'zh'">🔍 闪电扫描引擎</span>
                </h3>
                <div class="bg-white dark:bg-gray-700 p-3 rounded-lg mb-3">
                    <div class="text-2xl font-bold text-purple-600 dark:text-purple-400">300ms</div>
                    <div class="text-sm text-gray-500 dark:text-gray-400">
                        <span x-show="language === 'en'">C:/ scan depth-5</span>
                        <span x-show="language === 'zh'">C:/扫描深度5</span>
                    </div>
                </div>
                <p class="text-gray-600 dark:text-gray-300">
                        <span x-show="language === 'en'">
                            Advanced filesystem scanning algorithms can scan entire C: drive with 5-level depth in just 300ms.
                        </span>
                    <span x-show="language === 'zh'">
                            先进的文件系统扫描算法，可在300毫秒内扫描整个C:盘5层深度。
                        </span>
                </p>
            </div>
        </div>
    </div>
</section>

<!-- 演示部分 -->
<section class="py-16 bg-gradient-to-br from-gray-50 to-gray-100 dark:from-gray-800 dark:to-gray-900">
    <div class="container mx-auto px-4">
        <div class="max-w-5xl mx-auto">
            <h2 class="text-3xl font-bold text-center mb-4 gradient-text">
                <span x-show="language === 'en'">See JEnv in Action</span>
                <span x-show="language === 'zh'">JEnv 功能演示</span>
            </h2>
            <p class="text-center text-gray-600 dark:text-gray-300 mb-12 max-w-2xl mx-auto">
                <span x-show="language === 'en'">
                    Watch how JEnv switches between Java versions instantly, compared to traditional manual methods
                </span>
                <span x-show="language === 'zh'">
                    观看JEnv如何瞬间切换Java版本，与传统手动方法形成鲜明对比
                </span>
            </p>
            
            <!-- 演示容器 -->
            <div class="relative">
                <!-- 性能提示标签 -->
                <div class="absolute -top-4 left-6 z-10">
                    <span class="bg-green-500 text-white px-3 py-1 rounded-full text-sm font-semibold">
                        <i class="fas fa-bolt mr-1"></i>
                        <span x-show="language === 'en'">< 1 Second Switch</span>
                        <span x-show="language === 'zh'">< 1秒切换</span>
                    </span>
                </div>
                
                <div class="bg-gray-900 p-6 rounded-xl shadow-2xl overflow-hidden border border-gray-700">
                    <!-- 终端头部 -->
                    <div class="flex items-center mb-4 pb-4 border-b border-gray-700">
                        <div class="flex space-x-2">
                            <div class="w-3 h-3 rounded-full bg-red-500"></div>
                            <div class="w-3 h-3 rounded-full bg-yellow-500"></div>
                            <div class="w-3 h-3 rounded-full bg-green-500"></div>
                        </div>
                        <div class="mx-auto text-gray-400 text-sm font-mono">JEnv - Java Environment Manager</div>
                    </div>
                    
                    <img src="https://raw.githubusercontent.com/WhyWhatHow/jenv/main/assets/jenv.gif" alt="JEnv Demo"
                         class="w-full rounded-lg border border-gray-600">
                </div>
                
                <!-- 性能指标旁注 -->
                <div class="absolute -bottom-4 right-6 z-10">
                    <span class="bg-blue-500 text-white px-3 py-1 rounded-full text-sm font-semibold">
                        <i class="fas fa-memory mr-1"></i>
                        <span x-show="language === 'en'">Minimal RAM Usage</span>
                        <span x-show="language === 'zh'">最小内存占用</span>
                    </span>
                </div>
            </div>
            
            <!-- 演示下方的功能亮点 -->
            <div class="grid md:grid-cols-3 gap-6 mt-12">
                <div class="text-center">
                    <div class="w-16 h-16 mx-auto mb-4 bg-blue-100 dark:bg-blue-900 rounded-full flex items-center justify-center">
                        <i class="fas fa-rocket text-2xl text-blue-600 dark:text-blue-400"></i>
                    </div>
                    <h3 class="font-semibold text-gray-900 dark:text-white mb-2">
                        <span x-show="language === 'en'">Instant Switching</span>
                        <span x-show="language === 'zh'">即时切换</span>
                    </h3>
                    <p class="text-sm text-gray-600 dark:text-gray-300">
                        <span x-show="language === 'en'">No waiting, no downtime</span>
                        <span x-show="language === 'zh'">无等待，无停机时间</span>
                    </p>
                </div>
                <div class="text-center">
                    <div class="w-16 h-16 mx-auto mb-4 bg-green-100 dark:bg-green-900 rounded-full flex items-center justify-center">
                        <i class="fas fa-link text-2xl text-green-600 dark:text-green-400"></i>
                    </div>
                    <h3 class="font-semibold text-gray-900 dark:text-white mb-2">
                        <span x-show="language === 'en'">Symlink Technology</span>
                        <span x-show="language === 'zh'">符号链接技术</span>
                    </h3>
                    <p class="text-sm text-gray-600 dark:text-gray-300">
                        <span x-show="language === 'en'">Smart path management</span>
                        <span x-show="language === 'zh'">智能路径管理</span>
                    </p>
                </div>
                <div class="text-center">
                    <div class="w-16 h-16 mx-auto mb-4 bg-purple-100 dark:bg-purple-900 rounded-full flex items-center justify-center">
                        <i class="fab fa-windows text-2xl text-purple-600 dark:text-purple-400"></i>
                    </div>
                    <h3 class="font-semibold text-gray-900 dark:text-white mb-2">
                        <span x-show="language === 'en'">Windows Native</span>
                        <span x-show="language === 'zh'">Windows 原生</span>
                    </h3>
                    <p class="text-sm text-gray-600 dark:text-gray-300">
                        <span x-show="language === 'en'">Built for Windows users</span>
                        <span x-show="language === 'zh'">专为Windows用户打造</span>
                    </p>
                </div>
            </div>
        </div>
    </div>
</section>

<!-- 命令示例 -->
<section id="quickstart" class="py-16 bg-white dark:bg-gray-900">
    <div class="container mx-auto px-4">
        <h2 class="text-3xl font-bold text-center mb-12 gradient-text">
            <span x-show="language === 'en'">Quick Start</span>
            <span x-show="language === 'zh'">快速开始</span>
        </h2>
        <div class="max-w-3xl mx-auto space-y-6">
            <!-- 基础命令 -->
            <div class="bg-gray-50 dark:bg-gray-800 rounded-lg p-6 command-box">
                <div class="flex justify-between items-center mb-4">
                    <div>
                        <h3 class="text-lg font-semibold text-gray-900 dark:text-white mb-2">
                            <span x-show="language === 'en'">Basic Commands</span>
                            <span x-show="language === 'zh'">基础命令</span>
                        </h3>
                        <p class="text-sm text-gray-600 dark:text-gray-400">
                            <span x-show="language === 'en'">Check version and help information</span>
                            <span x-show="language === 'zh'">查看版本和帮助信息</span>
                        </p>
                    </div>
                </div>
                <pre class="bg-gray-900 text-green-400 p-4 rounded overflow-x-auto">jenv --version
jenv --help</pre>
            </div>

            <!-- 环境配置 -->
            <div class="bg-gray-50 dark:bg-gray-800 rounded-lg p-6 command-box">
                <div class="flex justify-between items-center mb-4">
                    <div>
                        <h3 class="text-lg font-semibold text-gray-900 dark:text-white mb-2">
                            <span x-show="language === 'en'">Environment Setup</span>
                            <span x-show="language === 'zh'">环境配置</span>
                        </h3>
                        <p class="text-sm text-gray-600 dark:text-gray-400">
                            <span x-show="language === 'en'">Configure system PATH and appearance</span>
                            <span x-show="language === 'zh'">配置系统路径和外观</span>
                        </p>
                    </div>
                </div>
                <pre class="bg-gray-900 text-green-400 p-4 rounded overflow-x-auto">jenv path
jenv theme light
jenv theme dark</pre>
            </div>

            <!-- JDK 管理 -->
            <div class="bg-gray-50 dark:bg-gray-800 rounded-lg p-6 command-box">
                <div class="flex justify-between items-center mb-4">
                    <div>
                        <h3 class="text-lg font-semibold text-gray-900 dark:text-white mb-2">
                            <span x-show="language === 'en'">JDK Management</span>
                            <span x-show="language === 'zh'">JDK 管理</span>
                        </h3>
                        <p class="text-sm text-gray-600 dark:text-gray-400">
                            <span x-show="language === 'en'">Add, remove and manage JDK versions</span>
                            <span x-show="language === 'zh'">添加、删除和管理 JDK 版本</span>
                        </p>
                    </div>
                </div>
                <pre class="bg-gray-900 text-green-400 p-4 rounded overflow-x-auto">jenv add jdk8 "C:\Program Files\Java\jdk1.8.0_291"
jenv remove jdk8 
jenv list   
jenv scan c:\
jenv current</pre>
            </div>

            <!-- 版本切换 -->
            <div class="bg-gray-50 dark:bg-gray-800 rounded-lg p-6 command-box">
                <div class="flex justify-between items-center mb-4">
                    <div>
                        <h3 class="text-lg font-semibold text-gray-900 dark:text-white mb-2">
                            <span x-show="language === 'en'">Version Switching</span>
                            <span x-show="language === 'zh'">版本切换</span>
                        </h3>
                        <p class="text-sm text-gray-600 dark:text-gray-400">
                            <span x-show="language === 'en'">Switch between different JDK versions</span>
                            <span x-show="language === 'zh'">在不同的 JDK 版本间切换</span>
                        </p>
                    </div>
                </div>
                <pre class="bg-gray-900 text-green-400 p-4 rounded overflow-x-auto">jenv use jdk8
jenv use jdk11</pre>
            </div>

            <!-- 高级功能 -->
            <!-- <div class="bg-gray-50 dark:bg-gray-800 rounded-lg p-6 command-box">
                <div class="flex justify-between items-center mb-4">
                    <div>
                        <h3 class="text-lg font-semibold text-gray-900 dark:text-white mb-2">
                            <span x-show="language === 'en'">Advanced Features</span>
                            <span x-show="language === 'zh'">高级功能</span>
                        </h3>
                        <p class="text-sm text-gray-600 dark:text-gray-400">
                            <span x-show="language === 'en'">Clean up and manage JEnv configuration</span>
                            <span x-show="language === 'zh'">清理和管理 JEnv 配置</span>
                        </p>
                    </div>
                </div>
                <pre class="bg-gray-900 text-green-400 p-4 rounded overflow-x-auto">jenv clean
jenv refresh</pre>
            </div> -->
        </div>
    </div>
</section>

<!-- 性能对比 -->
<section class="py-16 bg-white dark:bg-gray-900">
    <div class="container mx-auto px-4">
        <h2 class="text-3xl font-bold text-center mb-12 gradient-text">
            <span x-show="language === 'en'">Performance Benchmarks</span>
            <span x-show="language === 'zh'">性能基准测试</span>
        </h2>
        <div class="max-w-6xl mx-auto">
            <!-- 性能指标卡片 -->
            <div class="grid md:grid-cols-2 lg:grid-cols-4 gap-6 mb-12">
                <!-- 扫描速度 -->
                <div class="bg-gradient-to-br from-blue-50 to-blue-100 dark:from-blue-900 dark:to-blue-800 p-6 rounded-lg shadow-lg transform hover:scale-105 transition-all duration-300">
                    <div class="text-blue-600 dark:text-blue-400 text-4xl mb-4">
                        <i class="fas fa-search"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-2 text-gray-900 dark:text-white">
                        <span x-show="language === 'en'">Scan Speed</span>
                        <span x-show="language === 'zh'">扫描速度</span>
                    </h3>
                    <div class="text-3xl font-bold text-blue-600 dark:text-blue-400 mb-2">300ms</div>
                    <p class="text-sm text-gray-600 dark:text-gray-300">
                        <span x-show="language === 'en'">C:/ drive depth-5 scanning</span>
                        <span x-show="language === 'zh'">C:/盘5层深度扫描</span>
                    </p>
                </div>

                <!-- 版本切换速度 -->
                <div class="bg-gradient-to-br from-green-50 to-green-100 dark:from-green-900 dark:to-green-800 p-6 rounded-lg shadow-lg transform hover:scale-105 transition-all duration-300">
                    <div class="text-green-600 dark:text-green-400 text-4xl mb-4">
                        <i class="fas fa-exchange-alt"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-2 text-gray-900 dark:text-white">
                        <span x-show="language === 'en'">Switch Speed</span>
                        <span x-show="language === 'zh'">切换速度</span>
                    </h3>
                    <div class="text-3xl font-bold text-green-600 dark:text-green-400 mb-2">< 1s</div>
                    <p class="text-sm text-gray-600 dark:text-gray-300">
                        <span x-show="language === 'en'">Lightning fast version switching</span>
                        <span x-show="language === 'zh'">闪电般快速的版本切换</span>
                    </p>
                </div>

                <!-- 内存占用 -->
                <div class="bg-gradient-to-br from-purple-50 to-purple-100 dark:from-purple-900 dark:to-purple-800 p-6 rounded-lg shadow-lg transform hover:scale-105 transition-all duration-300">
                    <div class="text-purple-600 dark:text-purple-400 text-4xl mb-4">
                        <i class="fas fa-memory"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-2 text-gray-900 dark:text-white">
                        <span x-show="language === 'en'">Memory Usage</span>
                        <span x-show="language === 'zh'">内存占用</span>
                    </h3>
                    <div class="text-3xl font-bold text-purple-600 dark:text-purple-400 mb-2">< 10MB</div>
                    <p class="text-sm text-gray-600 dark:text-gray-300">
                        <span x-show="language === 'en'">Minimal resource footprint</span>
                        <span x-show="language === 'zh'">极低的资源占用</span>
                    </p>
                </div>

                <!-- 跨平台支持 -->
                <div class="bg-gradient-to-br from-orange-50 to-orange-100 dark:from-orange-900 dark:to-orange-800 p-6 rounded-lg shadow-lg transform hover:scale-105 transition-all duration-300">
                    <div class="text-orange-600 dark:text-orange-400 text-4xl mb-4">
                        <i class="fas fa-desktop"></i>
                    </div>
                    <h3 class="text-xl font-bold mb-2 text-gray-900 dark:text-white">
                        <span x-show="language === 'en'">Cross-Platform</span>
                        <span x-show="language === 'zh'">跨平台支持</span>
                    </h3>
                    <div class="text-3xl font-bold text-orange-600 dark:text-orange-400 mb-2">3+</div>
                    <p class="text-sm text-gray-600 dark:text-gray-300">
                        <span x-show="language === 'en'">Windows, Linux, macOS</span>
                        <span x-show="language === 'zh'">Windows、Linux、macOS</span>
                    </p>
                </div>
            </div>

            <!-- 详细对比表格 -->
            <div class="bg-gray-50 dark:bg-gray-800 p-8 rounded-lg shadow-lg">
                <h3 class="text-2xl font-bold text-center mb-8 text-gray-900 dark:text-white">
                    <span x-show="language === 'en'">Detailed Performance Comparison</span>
                    <span x-show="language === 'zh'">详细性能对比</span>
                </h3>
                <div class="overflow-x-auto">
                    <table class="w-full">
                        <thead>
                            <tr class="border-b-2 border-gray-200 dark:border-gray-700">
                                <th class="p-4 text-left text-gray-900 dark:text-white">
                                    <span x-show="language === 'en'">Metric</span>
                                    <span x-show="language === 'zh'">指标</span>
                                </th>
                                <th class="p-4 text-center text-primary font-bold">JEnv</th>
                                <th class="p-4 text-center text-gray-600 dark:text-gray-400">
                                    <span x-show="language === 'en'">Manual Method</span>
                                    <span x-show="language === 'zh'">手动方式</span>
                                </th>
                                <th class="p-4 text-center text-gray-600 dark:text-gray-400">
                                    <span x-show="language === 'en'">Other Tools</span>
                                    <span x-show="language === 'zh'">其他工具</span>
                                </th>
                            </tr>
                        </thead>
                        <tbody class="bg-white dark:bg-gray-900">
                            <tr class="border-b dark:border-gray-700">
                                <td class="p-4 font-medium text-gray-900 dark:text-white">
                                    <span x-show="language === 'en'">Scan Speed (C:/ Depth-5)</span>
                                    <span x-show="language === 'zh'">扫描速度 (C:/深度5)</span>
                                </td>
                                <td class="p-4 text-center">
                                    <span class="bg-green-100 dark:bg-green-900 text-green-800 dark:text-green-300 px-3 py-1 rounded-full text-sm font-bold">300ms</span>
                                </td>
                                <td class="p-4 text-center">
                                    <span class="bg-red-100 dark:bg-red-900 text-red-800 dark:text-red-300 px-3 py-1 rounded-full text-sm">10-30s</span>
                                </td>
                                <td class="p-4 text-center">
                                    <span class="bg-yellow-100 dark:bg-yellow-900 text-yellow-800 dark:text-yellow-300 px-3 py-1 rounded-full text-sm">2-5s</span>
                                </td>
                            </tr>
                            <tr class="border-b dark:border-gray-700">
                                <td class="p-4 font-medium text-gray-900 dark:text-white">
                                    <span x-show="language === 'en'">Version Switch Time</span>
                                    <span x-show="language === 'zh'">版本切换时间</span>
                                </td>
                                <td class="p-4 text-center">
                                    <span class="bg-green-100 dark:bg-green-900 text-green-800 dark:text-green-300 px-3 py-1 rounded-full text-sm font-bold">< 1s</span>
                                </td>
                                <td class="p-4 text-center">
                                    <span class="bg-red-100 dark:bg-red-900 text-red-800 dark:text-red-300 px-3 py-1 rounded-full text-sm">~30s</span>
                                </td>
                                <td class="p-4 text-center">
                                    <span class="bg-yellow-100 dark:bg-yellow-900 text-yellow-800 dark:text-yellow-300 px-3 py-1 rounded-full text-sm">5-10s</span>
                                </td>
                            </tr>
                            <tr class="border-b dark:border-gray-700">
                                <td class="p-4 font-medium text-gray-900 dark:text-white">
                                    <span x-show="language === 'en'">Cross-Platform Support</span>
                                    <span x-show="language === 'zh'">跨平台支持</span>
                                </td>
                                <td class="p-4 text-center text-green-500"><i class="fas fa-check text-xl"></i></td>
                                <td class="p-4 text-center text-red-500"><i class="fas fa-times text-xl"></i></td>
                                <td class="p-4 text-center text-yellow-500"><i class="fas fa-exclamation-triangle text-xl"></i></td>
                            </tr>
                            <tr class="border-b dark:border-gray-700">
                                <td class="p-4 font-medium text-gray-900 dark:text-white">
                                    <span x-show="language === 'en'">Memory Usage</span>
                                    <span x-show="language === 'zh'">内存占用</span>
                                </td>
                                <td class="p-4 text-center">
                                    <span class="bg-green-100 dark:bg-green-900 text-green-800 dark:text-green-300 px-3 py-1 rounded-full text-sm font-bold">< 10MB</span>
                                </td>
                                <td class="p-4 text-center text-gray-500">N/A</td>
                                <td class="p-4 text-center">
                                    <span class="bg-yellow-100 dark:bg-yellow-900 text-yellow-800 dark:text-yellow-300 px-3 py-1 rounded-full text-sm">20-50MB</span>
                                </td>
                            </tr>
                            <tr>
                                <td class="p-4 font-medium text-gray-900 dark:text-white">
                                    <span x-show="language === 'en'">Setup Complexity</span>
                                    <span x-show="language === 'zh'">设置复杂度</span>
                                </td>
                                <td class="p-4 text-center">
                                    <span class="bg-green-100 dark:bg-green-900 text-green-800 dark:text-green-300 px-3 py-1 rounded-full text-sm font-bold">Easy</span>
                                </td>
                                <td class="p-4 text-center">
                                    <span class="bg-red-100 dark:bg-red-900 text-red-800 dark:text-red-300 px-3 py-1 rounded-full text-sm">Complex</span>
                                </td>
                                <td class="p-4 text-center">
                                    <span class="bg-yellow-100 dark:bg-yellow-900 text-yellow-800 dark:text-yellow-300 px-3 py-1 rounded-full text-sm">Moderate</span>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
</section>

<!-- 工具对比 -->
<section class="py-16 bg-gray-50 dark:bg-gray-800">
    <div class="container mx-auto px-4">
        <h2 class="text-3xl font-bold text-center mb-12 gradient-text">
            <span x-show="language === 'en'">Why Choose JEnv?</span>
            <span x-show="language === 'zh'">为什么选择 JEnv？</span>
        </h2>
        <div class="max-w-4xl mx-auto overflow-x-auto">
            <table class="w-full">
                <thead>
                <tr class="bg-gray-100 dark:bg-gray-700">
                    <th class="p-4 text-left text-gray-900 dark:text-white">Features</th>
                    <th class="p-4 text-center text-primary">JEnv</th>
                    <th class="p-4 text-center text-gray-600 dark:text-gray-400">Others</th>
                </tr>
                </thead>
                <tbody class="bg-white dark:bg-gray-800">
                <tr class="border-b dark:border-gray-700">
                    <td class="p-4 text-gray-900 dark:text-white">Windows Optimization</td>
                    <td class="p-4 text-center text-green-500"><i class="fas fa-check"></i></td>
                    <td class="p-4 text-center text-red-500"><i class="fas fa-times"></i></td>
                </tr>
                <tr class="border-b dark:border-gray-700">
                    <td class="p-4 text-gray-900 dark:text-white">Symlink Technology</td>
                    <td class="p-4 text-center text-green-500"><i class="fas fa-check"></i></td>
                    <td class="p-4 text-center text-red-500"><i class="fas fa-times"></i></td>
                </tr>
                <!-- <tr>
                    <td class="p-4 text-gray-900 dark:text-white">Modern UI/UX</td>
                    <td class="p-4 text-center text-green-500"><i class="fas fa-check"></i></td>
                    <td class="p-4 text-center text-red-500"><i class="fas fa-times"></i></td>
                </tr> -->
                </tbody>
            </table>
        </div>
    </div>
</section>

<!-- 安装指南 -->
<section id="installation" class="py-16 bg-white dark:bg-gray-900">
    <div class="container mx-auto px-4">
        <h2 class="text-3xl font-bold text-center mb-12 gradient-text">
            <span x-show="language === 'en'">Installation Guide</span>
            <span x-show="language === 'zh'">安装指南</span>
        </h2>
        <div class="max-w-3xl mx-auto space-y-8">
            <!-- 系统要求 -->
            <div class="bg-gray-50 dark:bg-gray-800 p-6 rounded-lg shadow-lg transform transition-all duration-300 hover:scale-105">
                <h3 class="text-xl font-bold mb-4 text-gray-900 dark:text-white">
                    <span x-show="language === 'en'">System Requirements</span>
                    <span x-show="language === 'zh'">系统要求</span>
                </h3>
                <ul class="list-disc list-inside space-y-2 text-gray-600 dark:text-gray-300">
                    <li class="flex items-center"><i class="fas fa-check-circle text-green-500 mr-2"></i>
                        <span x-show="language === 'en'">Windows 10/11, Linux, or macOS</span>
                        <span x-show="language === 'zh'">Windows 10/11、Linux 或 macOS</span>
                    </li>
                    <li class="flex items-center"><i class="fas fa-check-circle text-green-500 mr-2"></i>
                        <span x-show="language === 'en'">Administrator privileges (Windows)</span>
                        <span x-show="language === 'zh'">管理员权限 (Windows)</span>
                    </li>
                    <li class="flex items-center"><i class="fas fa-check-circle text-green-500 mr-2"></i>
                        <span x-show="language === 'en'">At least one JDK installed</span>
                        <span x-show="language === 'zh'">至少安装一个 JDK</span>
                    </li>
                </ul>
            </div>
            <!-- 安装步骤 -->
            <div class="bg-gray-50 dark:bg-gray-800 p-6 rounded-lg shadow-lg">
                <h3 class="text-xl font-bold mb-4 text-gray-900 dark:text-white">
                    <span x-show="language === 'en'">Installation Steps</span>
                    <span x-show="language === 'zh'">安装步骤</span>
                </h3>
                <div class="space-y-4">
                    <template x-for="(step, index) in [
                            { en: 'Download the latest release from GitHub', zh: '从GitHub下载最新版本', cmd: '' },
                            { en: 'Extract the ZIP file to your desired location', zh: '解压ZIP文件到指定位置', cmd: '' },
                            { en: 'Run JEnv with administrator privileges', zh: '以管理员权限运行JEnv', cmd: '' },
                            { en: 'Configure system PATH automatically', zh: '自动配置系统PATH', cmd: 'jenv path' },
                            { en: 'Verify the installation', zh: '验证安装', cmd: 'jenv --version' }
                        ]">
                        <div class="relative">
                            <div class="flex items-center mb-2">
                                <div class="w-8 h-8 rounded-full bg-primary text-white flex items-center justify-center font-bold">
                                    <span x-text="index + 1"></span>
                                </div>
                                <div class="ml-4 flex-grow">
                                    <p class="text-gray-900 dark:text-white font-medium"
                                       x-text="language === 'en' ? step.en : step.zh"></p>
                                    <template x-if="step.cmd">
                                        <pre class="mt-2 bg-gray-900 text-green-400 p-3 rounded-md font-mono text-sm"
                                             x-text="step.cmd"></pre>
                                    </template>
                                </div>
                            </div>
                            <div x-show="index < 4" class="w-0.5 h-6 bg-primary ml-4"></div>
                        </div>
                    </template>
                </div>
            </div>
        </div>
    </div>
    </div>
</section>

<!-- FAQ -->
<section id="faq" class="py-16 bg-gray-50 dark:bg-gray-800">
    <div class="container mx-auto px-4">
        <h2 class="text-3xl font-bold text-center mb-12 gradient-text">
            <span x-show="language === 'en'">FAQ</span>
            <span x-show="language === 'zh'">常见问题</span>
        </h2>
        <div class="max-w-3xl mx-auto space-y-6">
            <div class="bg-white dark:bg-gray-900 p-6 rounded-lg shadow-lg">
                <h3 class="text-lg font-semibold mb-3 text-gray-900 dark:text-white">
                    <span x-show="language === 'en'">How does JEnv work?</span>
                    <span x-show="language === 'zh'">JEnv 是如何工作的？</span>
                </h3>
                <p class="text-gray-600 dark:text-gray-300">
                    <span x-show="language === 'en'">JEnv uses symbolic links to manage multiple Java versions efficiently. When you switch versions, JEnv updates the symlink to point to the desired JDK installation.</span>
                    <span x-show="language === 'zh'">JEnv 使用符号链接高效管理多个 Java 版本。当切换版本时，JEnv 会更新符号链接指向所需的 JDK 安装目录。</span>
                </p>
            </div>
            <div class="bg-white dark:bg-gray-900 p-6 rounded-lg shadow-lg">
                <h3 class="text-lg font-semibold mb-3 text-gray-900 dark:text-white">
                    <span x-show="language === 'en'">Do I need to uninstall existing JDKs?</span>
                    <span x-show="language === 'zh'">我需要卸载现有的 JDK 吗？</span>
                </h3>
                <p class="text-gray-600 dark:text-gray-300">
                    <span x-show="language === 'en'">No, JEnv works with your existing JDK installations. You can keep all your JDK versions and switch between them seamlessly.</span>
                    <span x-show="language === 'zh'">不需要，JEnv 可以与现有的 JDK 安装共存。您可以保留所有 JDK 版本而无缝切换。</span>
                </p>
            </div>
        </div>
    </div>
</section>

<!-- 社区贡献 -->
<section class="py-16 bg-white dark:bg-gray-900">
    <div class="container mx-auto px-4">
        <h2 class="text-3xl font-bold text-center mb-12 gradient-text">
            <span x-show="language === 'en'">Community & Contribution</span>
            <span x-show="language === 'zh'">社区与贡献</span>
        </h2>
        <div class="max-w-3xl mx-auto text-center">
            <p class="text-gray-600 dark:text-gray-300 mb-8">
                <span x-show="language === 'en'">JEnv is an open-source project and welcomes contributions from the community. Whether it's bug reports, feature requests, or code contributions, every bit helps!</span>
                <span x-show="language === 'zh'">JEnv 是一个开源项目，欢迎社区贡献。无论是报告错误、功能请求还是代码贡献，都能帮助项目变得更好！</span>
            </p>
            <div class="flex justify-center space-x-4">
                <a href="https://github.com/WhyWhatHow/jenv/issues" target="_blank"
                   class="bg-primary hover:bg-blue-600 text-white px-6 py-2 rounded-lg transition duration-300">
                    <i class="fas fa-bug mr-2"></i>
                    <span x-show="language === 'en'">Report Issues</span>
                    <span x-show="language === 'zh'">报告问题</span>
                </a>
                <a href="https://github.com/WhyWhatHow/jenv/pulls" target="_blank"
                   class="bg-primary hover:bg-blue-600 text-white px-6 py-2 rounded-lg transition duration-300">
                    <i class="fas fa-code-branch mr-2"></i>
                    <span x-show="language === 'en'">Pull Requests</span>
                    <span x-show="language === 'zh'">提交代码</span>
                </a>
            </div>
        </div>
    </div>
</section>

<!-- 页脚 -->
<footer class="py-8 bg-gray-50 dark:bg-gray-800">
    <div class="container mx-auto px-4 text-center">
        <p class="text-gray-600 dark:text-gray-300">
            <span x-show="language === 'en'">Made with ❤️ by WhyWhatHow</span>
            <span x-show="language === 'zh'">由 WhyWhatHow 用 ❤️ 制作</span>
        </p>
        <div class="mt-4">
            <a href="https://github.com/WhyWhatHow/jenv" target="_blank"
               class="text-primary hover:text-blue-600 dark:text-blue-400 dark:hover:text-blue-300">
                <i class="fab fa-github text-2xl"></i>
            </a>
        </div>
    </div>
</footer>
</body>
</html>

<style>
    /* 在现有样式的末尾添加 */
    html {
        scroll-behavior: smooth;
    }

    /* 由于固定导航栏的存在，需要调整滚动位置 */
    section {
        scroll-margin-top: 5rem;
    }
</style>
